Skip to content

[chore] prep for chain v1.20.1-beta#418

Open
dbrajovic wants to merge 2 commits into
devfrom
chore/prep-for-1.20.1-beta
Open

[chore] prep for chain v1.20.1-beta#418
dbrajovic wants to merge 2 commits into
devfrom
chore/prep-for-1.20.1-beta

Conversation

@dbrajovic

@dbrajovic dbrajovic commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Added new API support for preparing fee grants.
    • Added a new RPC for funding payments in derivatives.
    • Updated protobuf-generated client/server bindings to match the latest service definitions.
  • Bug Fixes

    • Refreshed multiple protocol schemas and descriptors to keep client behavior aligned with upstream changes.
  • Chores

    • Updated the package version to the next release candidate.
    • Bumped supported upstream dependency revisions used for code generation.

@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 4b3f1c6c-9253-48b4-aafd-6c3d3635aa44

📥 Commits

Reviewing files that changed from the base of the PR and between 9a79027 and ae90813.

📒 Files selected for processing (12)
  • Makefile
  • buf.gen.yaml
  • pyinjective/proto/exchange/injective_chart_rpc_pb2.py
  • pyinjective/proto/exchange/injective_exchange_rpc_pb2.py
  • pyinjective/proto/exchange/injective_exchange_rpc_pb2_grpc.py
  • pyinjective/proto/exchange/injective_rfq_gw_rpc_pb2.py
  • pyinjective/proto/exchange/injective_rfq_rpc_pb2.py
  • pyinjective/proto/exchange/injective_tc_derivatives_rpc_pb2.py
  • pyinjective/proto/exchange/injective_tc_derivatives_rpc_pb2_grpc.py
  • pyinjective/proto/injective/peggy/v1/msgs_pb2.py
  • pyinjective/proto/injective/peggy/v1/rate_limit_pb2.py
  • pyproject.toml

📝 Walkthrough

Walkthrough

The PR updates generation inputs and package versioning, regenerates multiple protobuf descriptors, and adds gRPC bindings for new PrepareFeeGrant and FundingPayments RPCs.

Changes

Generated proto refresh

Layer / File(s) Summary
Input version updates
buf.gen.yaml, Makefile, pyproject.toml
The clone target, buf generation tags, and Poetry version are updated.
PrepareFeeGrant RPC
pyinjective/proto/exchange/injective_exchange_rpc_pb2.py, pyinjective/proto/exchange/injective_exchange_rpc_pb2_grpc.py
The Injective Exchange protobuf descriptor adds PrepareFeeGrant message types, and the gRPC module wires the new RPC through the stub, servicer, handler map, and experimental client.
Exchange descriptor refresh
pyinjective/proto/exchange/injective_chart_rpc_pb2.py, pyinjective/proto/exchange/injective_rfq_gw_rpc_pb2.py, pyinjective/proto/exchange/injective_rfq_rpc_pb2.py
The chart, RFQ gateway, and RFQ protobuf modules rebuild serialized descriptor bytes and offset metadata.
Peggy descriptor refresh
pyinjective/proto/injective/peggy/v1/msgs_pb2.py, pyinjective/proto/injective/peggy/v1/rate_limit_pb2.py
The Peggy message and rate-limit protobuf modules add an oracle import and refresh descriptor bytes and offsets.
FundingPayments RPC
pyinjective/proto/exchange/injective_tc_derivatives_rpc_pb2.py, pyinjective/proto/exchange/injective_tc_derivatives_rpc_pb2_grpc.py
The TC derivatives protobuf descriptor and gRPC module add FundingPayments schema updates and client/server bindings.

Sequence Diagram(s)

sequenceDiagram
  participant InjectiveExchangeRPCStub
  participant add_InjectiveExchangeRPCServicer_to_server
  participant InjectiveExchangeRPCServicer
  add_InjectiveExchangeRPCServicer_to_server->>InjectiveExchangeRPCServicer: register PrepareFeeGrant handler
  InjectiveExchangeRPCStub->>InjectiveExchangeRPCServicer: PrepareFeeGrantRequest
  InjectiveExchangeRPCServicer-->>InjectiveExchangeRPCStub: UNIMPLEMENTED
Loading
sequenceDiagram
  participant InjectiveTCDerivativesRPCStub
  participant add_InjectiveTCDerivativesRPCServicer_to_server
  participant InjectiveTCDerivativesRPCServicer
  add_InjectiveTCDerivativesRPCServicer_to_server->>InjectiveTCDerivativesRPCServicer: register FundingPayments handler
  InjectiveTCDerivativesRPCStub->>InjectiveTCDerivativesRPCServicer: FundingPaymentsRequest
  InjectiveTCDerivativesRPCServicer-->>InjectiveTCDerivativesRPCStub: UNIMPLEMENTED
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Poem

Hop-hop, I nibbled proto leaves so bright,
and found new RPC carrots in the light.
Fee grants and fundings now prance in a line,
with tidy bytes that shimmer and shine.
🐰✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the main change: regenerating SDK artifacts and dependency pins for the v1.20.1-beta chain prep.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/prep-for-1.20.1-beta

Comment @coderabbitai help to get the list of available commands.

@dbrajovic dbrajovic changed the base branch from master to dev June 25, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant